package router

import (
	"api-gateway/handler"
	"github.com/gin-gonic/gin"
)

func LordRouter(r *gin.Engine) {
	api := r.Group("/api")
	{
		user := api.Group("/user")
		{
			user.POST("/add", handler.AddGroup)
			user.POST("/list", handler.ListGroup)
			user.POST("/info", handler.InfoGroup)
			//user.POST("/upload", handler.Upload)
		}
	}
}
